package com.tuanzi.loan.business.service.statistics;

import com.tuanzi.loan.business.entity.collaborate.StatCollaborateMarketLogin;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.statistics.login.StatMarketLoginRequest;
import com.tuanzi.loan.vo.response.statistics.login.StatMarketLoginResponse;
import org.springframework.data.domain.Page;

import java.util.Date;
import java.util.List;

/**
 * @Author: chenweijun
 * @Date: 2019/3/6 17:20
 * @Description:
 */
public interface StatMarketLoginService {

    /**
     * 查询统计列表
     * @param pageSearcher
     * @return
     */
    Page<StatMarketLoginResponse> list(PageSearcher<StatMarketLoginRequest> pageSearcher);


    List<StatCollaborateMarketLogin> findAllByCreateDateAndChannelIn(List<Integer> channels, Date date);


}
